const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    port: 5730,
    host: '0.0.0.0',
    proxy: {
      "^/api": {
        target: "http://localhost:5703",
        changeOrigin: true, // 允许跨域
        secure: false, //要想在没有证书的情况下，依然能成功代理到目标是 HTTPS 协议的服务器上
      },
    },
  },
});
